package meconsea.webcoll.uc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import meconsea.webcoll.base.entity.AbsEntity;
import meconsea.webcoll.base.entity.IEntity;

import org.hibernate.annotations.Type;

/**
 * 文章级别评定
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name="uc_art_level")
public class UcArtLevel extends AbsEntity implements IEntity {
	@Column(name="artId",length=32)
	private String artId;
	@Column(name="userId",length=32)
	private String userId;
	@Column(name="userIp",length=32)
	private String userIp;
	@Column(name="levelNum")
	@Type(type="integer")
	private int levelNum;
	public String getArtId() {
		return artId;
	}
	public void setArtId(String artId) {
		this.artId = artId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserIp() {
		return userIp;
	}
	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}
	public int getLevelNum() {
		return levelNum;
	}
	public void setLevelNum(int levelNum) {
		this.levelNum = levelNum;
	}
}
